//
//  BuildingData.h
//  Model
//
//  Created by YDJH on 2017/5/19.
//  Copyright © 2017年 YDJH. All rights reserved.
//  获取建筑物数据

#import <Foundation/Foundation.h>
#import "HZConstruction.h"
#import "HZHiddenFurniture.h"
#import "HZFurniture.h"
#import "HZOutDoor.h"


@interface BuildingData : NSObject

@property (nonatomic,strong) NSArray *insideRoomType; //室内房间的类型

@property (nonatomic,strong) NSArray *outsideRoomType; //室外的类型

@property (nonatomic,copy) NSString *buildType;//类型

@property (nonatomic,copy) NSString *buildName;//中文名

@property (nonatomic,copy) NSString *buildID; //建筑ID

@property (nonatomic,strong) NSArray *buildLobby;   //建筑物大厅

@property (nonatomic,strong) NSArray *outsideFurniture; //外部家具

@property (nonatomic,copy) NSString *structure;//结构  A,B   层 ，间

@property (nonatomic,strong) NSArray *sandTableFurniture; //沙盘的门

@property (nonatomic,assign) BOOL isHaveOutsideRoom;// 是否存在室外

@property (nonatomic,assign) BOOL isHavaInsideLobby;// 是否存在室内大厅

@property (nonatomic, copy) NSString *outsideLeftWallPicture; // 建筑物左边墙的图

@property (nonatomic, copy) NSString *outsideRightWallPicture; // 建筑物右边墙的图

@property (nonatomic, copy) NSString *outsideMainWallPicture; // 建筑物主墙的图

@property (nonatomic, copy) NSString *outsideBackWallPicture; // 建筑物后墙的图



@property (nonatomic, strong) NSMutableArray <HZFurniture *> *outsideMainWallFurniture; //主墙上的家具 目前只会有门

+ (NSMutableArray *)gobackBuildingModel;


+ (HZConstruction *)gobackConsturctionModelWithModel:(BuildingData *)room;


+ (BOOL)containsTSandable:(BuildingData *)buildingData;


+ (NSMutableArray *)gobackBuildingWithSandTable:(NSArray *)outsidehiddenArr withData:(BuildingData *)data withRoomArr:(NSArray *) roomArr;

+ (NSArray *)gobackOutDoorWithSandTable:(NSArray *)outsidehiddenArr withData:(NSArray *)roomArr;

// 返回一个建筑物模型
+ (HZBuilding *)goBackBuildingWithData:(BuildingData *)data withRoomArr:(NSArray *) roomArr;

@end
